package com.xsw.common.core.domain;

import io.swagger.annotations.ApiModelProperty;

/**
 * ECharts返回数据模型
 *
 * @author yjc
 * @create 2025-02-19 17:40
 */
public class EChartsResult<T> {

    @ApiModelProperty("key")
    private String k;

    @ApiModelProperty("value")
    private T v;

    public EChartsResult(String k, T v) {
        this.k = k;
        this.v = v;
    }

    public EChartsResult() {
    }

    public String getK() {
        return k;
    }

    public void setK(String k) {
        this.k = k;
    }

    public T getV() {
        return v;
    }

    public void setV(T v) {
        this.v = v;
    }
}
